package event;

import java.io.Serializable;

/**
 * Abstract class that represents an event in the auction management system.
 * 
 * @author Lukas
 *
 */
public abstract class Event implements Serializable {
	private static final long serialVersionUID = 3866383864720211971L;
	private String id;
	private String type;
	private long timestamp;
	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}
	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}
	/**
	 * @return the timestamp
	 */
	public long getTimestamp() {
		return timestamp;
	}
	/**
	 * @param timestamp the timestamp to set
	 */
	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}
}
